﻿<!--#include file="include/config.asp"-->
<!--#include file="include/conn_f.asp"-->
<!--#include file="top.asp"-->
<!--#include file="left.asp"-->
<form action="profile_save.asp" method="post">
<table width="400" border="1" align="center" cellspacing="0" class="little">
    <caption>
        <center>
            个人资料
            <%
If Session("cust_id")="" Then
    Response.Write "请先登录网站!"
    Response.End
End If
sql="select * from customer where cust_id="&Session("cust_id")
Set rs=conn.execute(sql)
If Not rs.eof Then
            %>
            <tr>
                <td>
                    会员帐号:
                </td>
                <td>
                    <%=rs("username")%>
                </td>
            </tr>
            <tr>
                <td>
                    姓名:
                </td>
                <td>
                    <input name="name" value="<%=rs("name")%>">(请填真实姓名)
                </td>
            </tr>
            <tr>
                <td>
                    e-mail:
                </td>
                <td>
                    <input name="email" size="40" value="<%=rs("email") %>">
                </td>
            </tr>
            <tr>
                <td>
                    联系电话:
                </td>
                <td>
                    <input name="phone" size="40" value="<%=rs("phone")%>"><br />
                    (若您现在国外,请填国外电话!)
                </td>
            </tr>
            <tr>
                <td>
                    备用联系电话:
                </td>
                <td>
                    <input name="mobile" size="40" value="<%=rs("mobile")%>"><br />
                    (若您现在国内,请填国内电话!)
                </td>
            </tr>
            <tr>
                <td rowspan="2">
                    地址(国外填英文):
                </td>
                <td>
                    <input name="address" size="40" maxlength="50" value="<%=rs("address")%>">
                </td>
            </tr>
            <tr>
                <td>
                    邮编:<input name="zip" size="6" maxlength="10" value="<%=rs("zip")%>">&nbsp;&nbsp;
                    城市,(省/州):<input name="city" size="10" maxlength="40" value="<%=rs("city")%>"><br />
                    国家:<input name="country" size="20" value="<%=rs("country")%>">
                </td>
            </tr>
            <tr>
                <td>
                    MSN(QQ)
                </td>
                <td>
                    <input name="qq" size="40" value="<%=rs("qq")%>">
                </td>
            </tr>
            <%
End If
            %>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="保存">
                </td>
            </tr>
</table>
</form>

<!--#include file="bottom.asp"-->
